<%--
  Created by IntelliJ IDEA.
  User: 门铎
  Date: 2016/8/3
  Time: 22:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>智能海洋机器人研究中心</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/reset.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/main.css">
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/img/ico.ico" />
</head>
<body>
<jsp:include page="head.jsp" />
<div class="cimv-content-two clearfix">
    <div id="branch">
        <div id="left_m">
            <span class="name"> ${fontMenuSet.fontMenu.description} </span>
            <div id="l_menu">
                <c:forEach var="menu" items="${fontMenuSet.fontMenuSet}">
                    <a href="${pageContext.request.contextPath}/${menu.url}">${menu.description}</a>
                </c:forEach>

            </div>
        </div>
        <div id="right_m">
            <div class="lmtitle" style="background-image:url(${pageContext.request.contextPath}/img/icon_normal.png);">
                <span class="name">&nbsp;<a href="${pageContext.request.contextPath}/index">首页</a>&nbsp;&gt;&nbsp;<a>${fontMenuSet.fontMenu.description}</a></span>
                <div style="clear:both;"></div>
            </div>
            <div class="layout_xq" id="xq">
                <div id="xp_zw">
                    <div class="content">
                        <%--<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#BEC6D8">
                            <tr class="table-hc">
                                <td width="25" class="text">
                                    <div align="center"><strong>编号 </strong></div>
                                </td>
                                <td width="272" class="text">
                                    <div align="center"><strong>论文题目 </strong></div>
                                </td>
                                <td height="25" class="text">
                                    <div align="center"><strong>作者</strong></div>
                                </td>
                                <td width="137" class="text">
                                    <div align="center"><strong>刊物名称</strong></div>
                                </td>
                                <td width="131" class="text">
                                    <div align="center"><strong>发表年度</strong></div>
                                </td>
                            </tr>
                            <c:forEach var="data" items="${page.dataList}" varStatus="status">
                                <tr class="table-dc">
                                    <td width="25"  class="text"><div align="center">${status.index+1}</div></td>
                                    <td width="272"  class="text"><div align="left"><a href="${pageContext.request.contextPath}/upload/pdf/${data.pdf}" target="_blank">${data.name}</a></div></td>
                                    <td width="150"  class="text"><div align="center">${data.persion}</div></td>
                                    <td class="text"><div align="center">${data.journal}</div></td>
                                    <td class="text"><div align="center">${data.publishDate}</div></td>
                                </tr>
                            </c:forEach>

                        </table>--%>
                        <ul class="">
                            <c:forEach var="data" items="${page.dataList}" varStatus="status">
                                <li>
                                    [${status.index+1}]
                                        ${data.persion}.(${data.publishDate}). ${data.journal}.
                                       ${data.name}.
                                    <a href="${pageContext.request.contextPath}/upload/pdf/${data.pdf}" target="_blank">[PDF Available]</a>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>

                </div>

                <!-- <div style="clear:both;"></div>解决正文float问题-->
            </div>
            <div class="page-bar">
                <form name="form1" method="post" action="">
  				<span class="text">总共：
  				<span style = "color:#990000;">${page.totalPage}</span>页,
  				<span style = "color:#990000;">${page.totalRecord}</span>条,
  				当前页：<span style = "color:#990000;">${page.currentPage}</span>,
                <c:if test="${page.currentPage!=1}">
                    <a href="${pageContext.request.contextPath}/paperList/1">首页</a>|
                    <a href="${pageContext.request.contextPath}/paperList/${page.currentPage-1}">上一页</a>|
                </c:if>
                <c:if test="${page.currentPage!=page.totalPage}">
                    <a href="${pageContext.request.contextPath}/paperList/${page.currentPage+1}">下一页</a>|
                    <a href="${pageContext.request.contextPath}/paperList/${page.totalPage}"> 最后页</a>|

                </c:if>
                    跳转：</span>
                    <c:choose>
                        <c:when test="${page.currentPage==page.totalPage}">
                            <input name="topage" type="text" size="2" value="${page.currentPage-1}">
                        </c:when>
                        <c:otherwise>
                            <input name="topage" type="text" size="2" value="${page.currentPage+1}">
                        </c:otherwise>
                    </c:choose>
                    <input type="submit" name="go" value="转到">

                </form>
            </div>
        </div>
        <div class="right_c" style=""></div>
        <div style="clear:both;"></div>
    </div>
    <div id="branch_bottom"></div>
</div>
<div class="footbj">
    <jsp:include page="foot.jsp" />
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/main.js"></script>
</body>
</html>
